const CONSTANT = require("../constant");
const { exec } = require("../core/DBHelper");

class UserController {
  async GetUsers(req, resp, next) {
    let result = await exec(CONSTANT.GET_USERS_SQL, []);
    resp.json({
      msg: "查询成功",
      data: result,
      code: 1,
    });
  }
}

module.exports = new UserController();
